package com.chen.librarysystem.mapper;

import com.chen.librarysystem.entry.Book;
import com.chen.librarysystem.entry.User;

import java.util.Map;

public interface FileMapper {
    boolean saveBookData(Map<String, Book> bookMap);

    Map<String, Book> loadBookData();
    boolean saveUserData(Map<String, User> userMap);
    Map<String, User> loadUserData();
}
